<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<style>
	body {background-color: #E6E6E6;margin: 0px;text-align:left;}
	td {font-size:12px;color:#303030;line-height:20px;}
	a:link,a:visited {color:#012F68;text-decoration: none;}
	a:hover {color: #406EA8;text-decoration:none}
</style>
<script src="<%=request.getContextPath()%>/resources/js/jquery-1.11.3.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/jquery-heima-0.0.1.js" ></script>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/js/dtree.js" ></script>


<div class="dtree">
<a href="javascript: d.openAll();">展开所有</a> | <a href="javascript: d.closeAll();">关闭所有</a>
	<script type="text/javascript">d = new dTree('d','<%=request.getContextPath()%>/resources/img');
	d.add('01',-1,'菜单管理');
	d.add('0102','01','分类管理','','','mainFrame');
	d.add('010201','0102','分类列表','<%=request.getContextPath()%>/productServlet?method=getAllNav&admin=admin','','mainFrame');
	d.add('010202','0102','分类添加','<%=request.getContextPath()%>/view/admin/category/add.jsp','','mainFrame');
	d.add('0104','01','商品管理');
	d.add('010401','0104','商品列表','<%=request.getContextPath()%>/adminServlet?method=allProduct','','mainFrame');
	d.add('010402','0104','添加商品','<%=request.getContextPath()%>/view/admin/product/add.jsp','','mainFrame');
	d.add('0106','01','用户管理');
	d.add('010601','0106','用户列表','<%=request.getContextPath()%>/adminServlet?method=allUser','','mainFrame');
	d.add('0108','01','订单管理');
	d.add('010601','0108','订单列表','<%=request.getContextPath()%>/adminServlet?method=selAllOrder&pagenum=1','','mainFrame');
	d.add('010602','0108','流水分析','<%=request.getContextPath()%>/view/admin/order/analysis.jsp','','mainFrame');
	d.add('0109','01','广告位管理');
	d.add('010601','0109','首页轮播管理','<%=request.getContextPath()%>/posterServlet?method=showAll','','mainFrame');
	document.write(d);
	</script>
</div>